uswsusp: Disable when securelevel is set
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 3 Sep 2013 15:23:29 +0000 (11:23 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 4 Jun 2017 02:03:01 +0000 (02:03 +0000)
commit4db5a497b37bbe17631d8905a42e6430f685c304
tree6453f5f8a333648d6c45fa71cf3df90fc7e5d0b6
parente92eb82c619c727762703ff550b580dfc913f5d8
uswsusp: Disable when securelevel is set

uswsusp allows a user process to dump and then restore kernel state, which
makes it possible to modify the running kernel. Disable this if securelevel
has been set.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Gbp-Pq: Topic features/all/securelevel
Gbp-Pq: Name uswsusp-disable-when-securelevel-is-set.patch
kernel/power/user.c